package com.molichuxing.services.infrastructure.dao;

import com.molichuxing.services.infrastructure.bean.CarsMileageMonitoringEnterpriseBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


public interface CarsMileageMonitoringEnterpriseMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(CarsMileageMonitoringEnterpriseBean record);

    int insertSelective(CarsMileageMonitoringEnterpriseBean record);

    CarsMileageMonitoringEnterpriseBean selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CarsMileageMonitoringEnterpriseBean record);

    int updateByPrimaryKey(CarsMileageMonitoringEnterpriseBean record);

    List<CarsMileageMonitoringEnterpriseBean> listCarsMileageMonitoring(@Param("params") Map<String, Object> map,@Param("pageNum") Integer pageNum,@Param("pageSize") Integer pageSize);

    long countCarsMileageMonitoring(@Param("params") Map<String, Object> map);


    List<CarsMileageMonitoringEnterpriseBean>  getMileageMonitoringEnterprise(@Param("orderCode") Long order);

    /**
     * 得到未获取车联网里程
     * @return
     */
    List<CarsMileageMonitoringEnterpriseBean> listMileageUnMonitoring();
}